package com.cookbook.service;

import com.cookbook.database.model.Comment;
import com.cookbook.database.model.Reply;

import java.util.List;

public interface CommentService {
    void insert(Comment comment);
    void insert(Reply reply);

    List<Comment> commentsWithOffset(Integer shareId, Integer page, Integer limit);
    List<Reply> repliesWithOffset(Integer commentId, Integer page, Integer limit);
}
